<include file="Public:header" />
<div id="infocontent">
    <div id="leftcate">
        <div class="channeltitle"><a href="__APP__/Home/View/channel?chid={$channel.channel_id}">{$channel.channel_name}</a></div>
        <notempty name="thumbs">
            <div class="faderimg">
                <script type="text/javascript">
                    <!--
                        var focus_width = 260;
                    var focus_height = 220;
                    var text_height = 21;
                    var swf_height = focus_height + text_height;
                    var pics = "";
                    var links = "";
                    var texts = "";
                    < volist name = "thumbs" id = "thumb" offset = "0" length = "1" >
                            pics += "/Public/Uploads/{$thumb[0].thumb_name}";
                    links += "__APP__/Home/View/content?coid={$thumb[0].thumb_content}";
                    texts += "{$thumb[1]|msubstr=0,16}";
                    < /volist>
                            < volist name = "thumbs" id = "thumb"  offset = "1" >
                            pics += "|/Public/Uploads/{$thumb[0].thumb_name}";
                    links += "|__APP__/Home/View/content?coid={$thumb[0].thumb_content}";
                    texts += "|{$thumb[1]|msubstr=0,16}";
                    < /volist>
                            document
                            .write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + focus_width + '" height="' + swf_height + '">');
                    document
                            .write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/Public/Home/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
                    document
                            .write('<param name="menu" value="false"><param name=wmode value="opaque">');
                    document
                            .write('<param name="FlashVars" value="pics=' + pics + '&links=' + links + '&texts=' + texts + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
                    document
                            .write('<embed src="/Public/home/focus.swf" wmode="opaque" FlashVars="pics='
                            + pics
                            + '&links='
                            + links
                            + '&texts='
                            + texts
                            + '&borderwidth='
                            + focus_width
                            + '&borderheight='
                            + focus_height
                            + '&textheight='
                            + text_height
                            + '" menu="false" ?bgcolor="#ffffff" quality="high" width="'
                            + focus_width
                            + '" height="'
                            + swf_height
                            + '" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                    document.write('</object>');
                    //-->
                </script>
            </div>
            <!-- 
            <ul>
                    <volist name="info" id="oneinfo">
                    <li><a
                            href="__APP__/Home/View/content?coid={$oneinfo.content_id}">
                                    {$oneinfo.content_title} </a> <span>{$oneinfo.content_time|strtotime|date="Y-m-

                                    d",###} </span>
                    </li>
                    </volist>
            </ul>
            -->
            <div class="echinfo">
        </notempty>
        <empty  name="thumbs">
            <div class="echinfo" style="width:650px;">
        </empty>
        <ul>
            <volist name="info" id="oneinfo" offset="0" length="10">
                <li>
                    <a href="__APP__/Home/View/content?coid={$oneinfo.content_id}">{$oneinfo.content_title|msubstr=0,18}</a>
                    <span>{$oneinfo.content_time|strtotime|date="Y-m-d",###}</span>
                </li>
            </volist>
        </ul>
    </div>
</volist>
<div id="areticle">
    <ul>
        <volist name="info" id="oneinfo" offset="8">
            <li><a
                    href="__APP__/Home/View/content?coid={$oneinfo.content_id}">
                    {$oneinfo.content_title} </a><span>{$oneinfo.content_time|strtotime|date="Y-m-

                    d",###} </span>
            </li>
        </volist>
    </ul>
</div>
<div class="pagination align-left">
    一共<a href="__URL__/channel?page={$count}&chid={$channel.channel_id}"
         class="number" title="3">{$pagecount}</a>页&nbsp;&nbsp; <a
         href="__URL__/channel?page=1&chid={$channel.channel_id}"
         title="First Page">&laquo; 首页</a> <a
         href="__URL__/channel?page={$nowpage-1}&chid={$channel.channel_id}"
         title="Previous Page">&laquo; 前一页</a>
    <volist name="middle" id="page"> <eq name="page"
                                         value="$nowpage"> <a
                                         href="__URL__/channel?page={$page}&chid={$channel.channel_id}"
                                         class="number current">{$page}</a> <else /> <a
                                         href="__URL__/channel?page={$page}&chid={$channel.channel_id}"
                                         class="number">{$page}</a> </eq> </volist>
    <a
        href="__URL__/channel?page={$nowpage+1}&chid={$channel.channel_id}"
        title="Next Page" class="number">下一页 &raquo;</a> <a
        href="__URL__/channel?page={$count}&chid={$channel.channel_id}"
        title="Last Page">最后一页 &raquo;</a> 当前第<a
        href="__URL__/channel?page={$nowpage}&chid={$channel.channel_id}"
        class="number" title="3">{$nowpage}</a>页
</div>
</div>
<div id="rightchan">
    <div class="rightnew">
        <b>最新文章：</b>
        <ul>
            <volist name="mostnews" id="mostnew">
                <li><a
                        href="__APP__/Home/View/content?coid={$mostnew.content_id}">{$mostnew.content_title}</a>
                </li>
            </volist>
        </ul>
    </div>
    <div id="clear"></div>
    <div class="rightnew">
        <b>热门文章：</b>
        <ul>
            <volist name="hots" id="hot">
                <li><a href="__APP__/Home/View/content?coid={$hot.content_id}">{$hot.content_title}</a>
                </li>
            </volist>
        </ul>
    </div>
</div>
</div>
<include file="Public:footer" />